package com.myproject02.domain;

public class PC implements Equipment{
    private String model;//机器型号
    private String display;//显示器名称

    public PC(){}
    public PC(String model,String display){
        this.model = model;
        this.display = display;
    }

    public String getModel(){
        return model;
    }
    public void setModel(String model){
        this.model = model;
    }
    public String getDisplay(){
        return display;
    }
    public void setDisplay(String model){
        this.model = model;
    }

    public  String getDescription(){
        return model + "(" + display + ")";
    }
}
